/**
 */
package org.mro.grib.model.files.secondEdition.dataRepresentations;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Data Representation Template Number</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * @see org.mro.grib.model.files.secondEdition.dataRepresentations.DataRepresentationsPackage#getDataRepresentationTemplateNumber()
 * @model annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Code table 5.0 \u2013 Data representation template number'"
 * @generated
 */
public enum DataRepresentationTemplateNumber implements Enumerator {
	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 50</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_50_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_50(0, "DATA_REPRESENTATION_TEMPLATE_5_0", "DATA_REPRESENTATION_TEMPLATE_5_0"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 51</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_51_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_51(1, "DATA_REPRESENTATION_TEMPLATE_5_1", "DATA_REPRESENTATION_TEMPLATE_5_1"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 52</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_52_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_52(2, "DATA_REPRESENTATION_TEMPLATE_5_2", "DATA_REPRESENTATION_TEMPLATE_5_2"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 53</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_53_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_53(3, "DATA_REPRESENTATION_TEMPLATE_5_3", "DATA_REPRESENTATION_TEMPLATE_5_3"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 54</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_54_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_54(4, "DATA_REPRESENTATION_TEMPLATE_5_4", "DATA_REPRESENTATION_TEMPLATE_5_4"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 540</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_540_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_540(40, "DATA_REPRESENTATION_TEMPLATE_5_40", "DATA_REPRESENTATION_TEMPLATE_5_40"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 541</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_541_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_541(41, "DATA_REPRESENTATION_TEMPLATE_5_41", "DATA_REPRESENTATION_TEMPLATE_5_41"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 550</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_550_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_550(50, "DATA_REPRESENTATION_TEMPLATE_5_50", "DATA_REPRESENTATION_TEMPLATE_5_50"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 551</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_551_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_551(51, "DATA_REPRESENTATION_TEMPLATE_5_51", "DATA_REPRESENTATION_TEMPLATE_5_51"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 561</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_561_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_561(61, "DATA_REPRESENTATION_TEMPLATE_5_61", "DATA_REPRESENTATION_TEMPLATE_5_61"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 5200</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_5200_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_5200(200, "DATA_REPRESENTATION_TEMPLATE_5_200", "DATA_REPRESENTATION_TEMPLATE_5_200"), //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 565535</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_565535_VALUE
	 * @generated
	 * @ordered
	 */
	DATA_REPRESENTATION_TEMPLATE_565535(65535, "DATA_REPRESENTATION_TEMPLATE_5_65535", "DATA_REPRESENTATION_TEMPLATE_5_65535"); //$NON-NLS-1$ //$NON-NLS-2$

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 50</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 50</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_50
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_0"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Grid point data \u2013 simple packing'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_50_VALUE = 0;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 51</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 51</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_51
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_1"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Matrix value at grid point \u2013 simple packing'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_51_VALUE = 1;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 52</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 52</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_52
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_2"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Grid point data \u2013 complex packing'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_52_VALUE = 2;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 53</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 53</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_53
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_3"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Grid point data \u2013 complex packing and spatial differencing'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_53_VALUE = 3;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 54</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 54</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_54
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_4"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Grid point data \u2013 IEEE floating point data'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_54_VALUE = 4;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 540</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 540</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_540
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_40"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Grid point data \u2013 JPEG 2000 code stream format'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_540_VALUE = 40;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 541</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 541</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_541
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_41"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Grid point data \u2013 Portable Network Graphics (PNG)'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_541_VALUE = 41;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 550</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 550</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_550
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_50"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Spectral data \u2013 simple packing'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_550_VALUE = 50;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 551</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 551</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_551
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_51"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Spherical harmonics data \u2013 complex packing'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_551_VALUE = 51;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 561</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 561</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_561
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_61"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Grid point data \u2013 simple packing with logarithm pre-processing'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_561_VALUE = 61;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 5200</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 5200</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_5200
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_200"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Run length packing with level values'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_5200_VALUE = 200;

	/**
	 * The '<em><b>DATA REPRESENTATION TEMPLATE 565535</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>DATA REPRESENTATION TEMPLATE 565535</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #DATA_REPRESENTATION_TEMPLATE_565535
	 * @model name="DATA_REPRESENTATION_TEMPLATE_5_65535"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Missing'"
	 * @generated
	 * @ordered
	 */
	public static final int DATA_REPRESENTATION_TEMPLATE_565535_VALUE = 65535;

	/**
	 * An array of all the '<em><b>Data Representation Template Number</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final DataRepresentationTemplateNumber[] VALUES_ARRAY =
		new DataRepresentationTemplateNumber[] {
			DATA_REPRESENTATION_TEMPLATE_50,
			DATA_REPRESENTATION_TEMPLATE_51,
			DATA_REPRESENTATION_TEMPLATE_52,
			DATA_REPRESENTATION_TEMPLATE_53,
			DATA_REPRESENTATION_TEMPLATE_54,
			DATA_REPRESENTATION_TEMPLATE_540,
			DATA_REPRESENTATION_TEMPLATE_541,
			DATA_REPRESENTATION_TEMPLATE_550,
			DATA_REPRESENTATION_TEMPLATE_551,
			DATA_REPRESENTATION_TEMPLATE_561,
			DATA_REPRESENTATION_TEMPLATE_5200,
			DATA_REPRESENTATION_TEMPLATE_565535,
		};

	/**
	 * A public read-only list of all the '<em><b>Data Representation Template Number</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<DataRepresentationTemplateNumber> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Data Representation Template Number</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static DataRepresentationTemplateNumber get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			DataRepresentationTemplateNumber result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Data Representation Template Number</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static DataRepresentationTemplateNumber getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			DataRepresentationTemplateNumber result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Data Representation Template Number</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static DataRepresentationTemplateNumber get(int value) {
		switch (value) {
			case DATA_REPRESENTATION_TEMPLATE_50_VALUE: return DATA_REPRESENTATION_TEMPLATE_50;
			case DATA_REPRESENTATION_TEMPLATE_51_VALUE: return DATA_REPRESENTATION_TEMPLATE_51;
			case DATA_REPRESENTATION_TEMPLATE_52_VALUE: return DATA_REPRESENTATION_TEMPLATE_52;
			case DATA_REPRESENTATION_TEMPLATE_53_VALUE: return DATA_REPRESENTATION_TEMPLATE_53;
			case DATA_REPRESENTATION_TEMPLATE_54_VALUE: return DATA_REPRESENTATION_TEMPLATE_54;
			case DATA_REPRESENTATION_TEMPLATE_540_VALUE: return DATA_REPRESENTATION_TEMPLATE_540;
			case DATA_REPRESENTATION_TEMPLATE_541_VALUE: return DATA_REPRESENTATION_TEMPLATE_541;
			case DATA_REPRESENTATION_TEMPLATE_550_VALUE: return DATA_REPRESENTATION_TEMPLATE_550;
			case DATA_REPRESENTATION_TEMPLATE_551_VALUE: return DATA_REPRESENTATION_TEMPLATE_551;
			case DATA_REPRESENTATION_TEMPLATE_561_VALUE: return DATA_REPRESENTATION_TEMPLATE_561;
			case DATA_REPRESENTATION_TEMPLATE_5200_VALUE: return DATA_REPRESENTATION_TEMPLATE_5200;
			case DATA_REPRESENTATION_TEMPLATE_565535_VALUE: return DATA_REPRESENTATION_TEMPLATE_565535;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private DataRepresentationTemplateNumber(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //DataRepresentationTemplateNumber
